<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Canvas</title>
</head>
<body>
    <canvas id="m_canvas" width="600" height="600"></canvas>
</body>
<script>
    let mc = document.getElementById("m_canvas")
    let d2ctx = mc.getContext("2d")
    d2ctx.fillStyle = "#4d55ee"
    d2ctx.fillRect(0,0,500, 200)
</script>
</html>